
package com.hlkj.pay.service.order;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.pojo.PageResult;
import com.hlkj.pay.dto.order.OrderTransferDto;
import com.hlkj.pay.dto.order.TransferOrderQueryDto;
import com.hlkj.pay.infrastructure.model.order.OrderTransferDO;

/**
 * @author HlpayTeam
 * @date 2025/02/08 15:27
 */
public interface ITransferOrderService {

    /**
     *
     * @param payOrderNo
     * @return
     */
    OrderTransferDO queryPayOrder(String payOrderNo);

    /**
     *
     * @param updatePayOrderDO
     * @return
     */
    int updatePayOrderStatus(OrderTransferDO updatePayOrderDO);

    /**
     *
     * @param sn
     * @param mchOrderNo
     * @return
     */
    OrderTransferDO queryByMchOrderNo(String sn, String mchOrderNo);

    /**
     *
     * @param orderTransfer
     */
    void addTransferOrder(OrderTransferDO orderTransfer);

    /**
     * 
     * @param commonOrderQueryDto
     * @return
     */
    PageResult<OrderTransferDto> queryPage(TransferOrderQueryDto commonOrderQueryDto);
}
